package com.hmy.finance.dal.po.json;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;


@Data
public class ReconciliationAdjustJson implements Serializable {

    /**
     * 调整小计
     */
    private BigDecimal adjustTotal = BigDecimal.ZERO;

    /**
     * 进场费用调整
     */
    private BigDecimal entryFeeAdjustCost = BigDecimal.ZERO;

    /**
     * 退场费用调整
     */
    private BigDecimal exitFeeAdjustCost = BigDecimal.ZERO;

    /**
     * 改装调整
     */
    private BigDecimal modificationAdjustCost = BigDecimal.ZERO;

    /**
     * 应付索赔调整
     */
    private BigDecimal claimPayableAdjustCost = BigDecimal.ZERO;

    /**
     * 应付租金调整
     */
    private BigDecimal rentPayableAdjustCost = BigDecimal.ZERO;

    public BigDecimal getAdjustTotal() {
        return entryFeeAdjustCost.add(exitFeeAdjustCost).add(modificationAdjustCost).add(claimPayableAdjustCost).add(rentPayableAdjustCost);
    }

}
